package com.sale.storage.api;

import com.sale.storage.api.vo.InvoiceVo;
import com.sale.storage.api.vo.PickingSaleResultVo;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

public interface RemotePickingSaleService {

    /**
     * 新增销售发货单（销售订单使用）
     */
    boolean addSaleOrder(@RequestBody PickingSaleResultVo pickingSaleResultVo) throws Exception;

    /**
     * 回传开票数量,核销金额(出库)
     */
    boolean updateStorage(@RequestBody List<InvoiceVo> list);
}
